<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>微信公众平台源码,微信机器人源码,微信自动回复源码 PigCms多用户微信营销系统</title>
    <meta http-equiv="MSThemeCompatible" content="Yes" />
    <link rel="stylesheet" type="text/css" href="{pigcms::RES}/css/style_2_common.css?BPm" />
    <script src="{pigcms::RES}/js/common.js" type="text/javascript"></script>
    <link href="{pigcms::RES}/css/style.css" rel="stylesheet" type="text/css" />
    <script src="{pigcms::STATICS}/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak={pigcms::$apikey}"></script>
    <link rel="stylesheet" type="text/css" href="{pigcms::RES}/css/cymain.css" />
    <script src="/tpl/static/artDialog/jquery.artDialog.js?skin=default"></script>
    <script src="/tpl/static/artDialog/plugins/iframeTools.js"></script>
    <style>
        body{line-height:180%;}
        ul.modules {float:left;	width:33%;}
        ul.modules li{padding:4px;margin:4px;background:#efefef;float:left;width:92%;}
        ul.modules li div.mleft{float:left;width:40%}
        ul.modules li div.mright{float:right;width:55%;text-align:right;}
        ul.modules li.first {font-weight:bold;background:#D4D4D4;color:#fff}
    </style>
</head>
<body style="background:#fff;padding:20px 20px;">
<div style="background:#fefbe4;border:1px solid #f3ecb9;color:#993300;padding:10px;margin-bottom:5px;">使用方法：点击“选中”直接返回对应模块外链代码，或者点击“详细”选择具体的内容外链</div>
<h4>请选择模块：</h4>
<ul class="modules">
    <{foreach from=$modules1 item=m}>
    <!--<{if !empty($m.module)}>-->
        <!--<{$m.module}>-->
    <!--<{/if}>-->
        <{if (!intval($_GET['iskeyword']) || (intval($_GET['iskeyword'])&&$m['askeyword'])) }>
         <{if (!is_array($m) && !empty($m)  && !is_null($m))  }>
        <li class="first"><{$m}></li>
         <{/if}>
        <li><div class="mleft"><{if !empty($m.name) && !is_null($m.name) }><{$m.name}></div>

            <div class="mright">
                <{if $m.sub==1  && intval($m.sub)}>
                <a href=" ?g=User&m=functiondata&a=<{$m.module}>&iskeyword=$iskeyword">详细</a>
                <{else}><a href= "<{ $m.linkurl}>" >详细</a>
                <{/if}>
                <{/if}>
                <{if  "$m.canselected"==1 && intval($m.canselected) }>
                <a href="###" onclick="returnHomepage('<{if !intval($iskeyword) }> <{$m.linkcode}><{elseif  intval($m.keyword)}> <{$m.keyword}>')" style="margin-left:14px;">选中</a>
                   <{/if}>
                <{/if}>
            </div>
            <div style="clear:both"></div></li>
        <{/if}>
    <{/foreach}>
    <div style="clear:both"></div>
</ul>

<ul class="modules">
    <{foreach from=$modules2 item=m}>
    <!--<{if !empty($m.module)}>-->
    <!--<{$m.module}>-->
    <!--<{/if}>-->
    <{if (!intval($_GET['iskeyword']) || (intval($_GET['iskeyword'])&&$m['askeyword'])) }>
    <{if (!is_array($m) && !empty($m)  && !is_null($m))  }>
    <li class="first"><{$m}></li>
    <{/if}>
    <li><div class="mleft"><{if !empty($m.name) && !is_null($m.name) }><{$m.name}></div>

        <div class="mright">
            <{if $m.sub==1  && intval($m.sub)}>
            <a href=" ?g=User&m=functiondata&a=<{$m.module}>&iskeyword=$iskeyword">详细</a>
            <{else}><a href= "<{ $m.linkurl}>" >详细</a>
            <{/if}>
            <{/if}>
            <{if  "$m.canselected"==1 && intval($m.canselected) }>
            <a href="###" onclick="returnHomepage('<{if !intval($iskeyword) }> <{$m.linkcode}><{elseif  intval($m.keyword)}> <{$m.keyword}>')" style="margin-left:14px;">选中</a>
            <{/if}>
            <{/if}>
        </div>
        <div style="clear:both"></div></li>
    <{/if}>
    <{/foreach}>
    <div style="clear:both"></div>
</ul>

<ul class="modules">
    <{foreach from=$modules3 item=m}>
    <!--<{if !empty($m.module)}>-->
    <!--<{$m.module}>-->
    <!--<{/if}>-->
    <{if (!intval($_GET['iskeyword']) || (intval($_GET['iskeyword'])&&$m['askeyword'])) }>
    <{if (!is_array($m) && !empty($m)  && !is_null($m))  }>
    <li class="first"><{$m}></li>
    <{/if}>
    <li><div class="mleft"><{if !empty($m.name) && !is_null($m.name) }><{$m.name}></div>

        <div class="mright">
            <{if $m.sub==1  && intval($m.sub)}>
            <a href=" ?g=User&m=functiondata&a=<{$m.module}>&iskeyword=$iskeyword">详细</a>
            <{else}><a href= "<{ $m.linkurl}>" >详细</a>
            <{/if}>
            <{/if}>
            <{if  "$m.canselected"==1 && intval($m.canselected) }>
            <a href="###" onclick="returnHomepage('<{if !intval($iskeyword) }> <{$m.linkcode}><{elseif  intval($m.keyword)}> <{$m.keyword}>')" style="margin-left:14px;">选中</a>
            <{/if}>
            <{/if}>
        </div>
        <div style="clear:both"></div></li>
    <{/if}>
    <{/foreach}>
    <div style="clear:both"></div>
</ul>

<script>
    var domid=art.dialog.data('domid');
    // 返回数据到主页面
    function returnHomepage(url){
        var origin = artDialog.open.origin;
        var dom = origin.document.getElementById(domid);
        dom.value=url;
        setTimeout("art.dialog.close()", 100 )
    }
</script>
</body>
</html>